package com.example.android;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class ExemploCicloVida extends Activity {

		private static final String CATEGORIA ="fvs";
		
		protected void onCreate(Bundle b) {
			super.onCreate(b);
			setContentView(R.layout.activity_main);
			Log.i(CATEGORIA, ".onCreate() chamado");
		}
		
		public void onStart() {
			super.onStart();
			Log.i(CATEGORIA, ".onStart() chamado");
		}
		
		public void onRestart() {
			super.onRestart();
			Log.d(CATEGORIA, ".onRestart() reiniciando");
		}
		
		public void onResume() {
			super.onResume();
			Log.w(CATEGORIA, ".onResume() resumindo");
		}
		
		public void onPause() {
			super.onPause();
			Log.i(CATEGORIA, ".onPause() pausando");
		}
		
		public void onStop() {
			super.onStop();
			Log.i(CATEGORIA, ".onStop() parando");
		}
		
		public void onDestroy() {
			super.onDestroy();
			Log.i(CATEGORIA, ".onDestroy() destruindo");
		}
}